.biz-user-select{
  background-color: #fff;

  position: relative;
  cursor: pointer;
  padding: 1px 32px 1px 0;
  border: 1px solid #e0e1e2;
  border-radius: 2px;
  min-height: 32px;
  text-align: left;

  & > input{
    display: none;
  }

  .biz-user-select-placeholder{
    color: #B3B7C1;
  }

  p{
    margin: 0;
    line-height: 24px;
    padding: 2px 0 2px 10px;
  }

  &.biz-user-select-open{
    border-radius: 2px 2px 0 0;
  }
}

.biz-user-select-popper{
  position: absolute;
  z-index: 99999;
  
  color: #333;
  background-color: #fff;
  border: 1px solid #e0e1e2;
  border-top: none;

  font-size: 14px;
}

.biz-user-select-popper[x-placement^="top"]{
  border-bottom: none;
}

.biz-user-select-popper[x-placement^="bottom"]{
  border-top: none;
}

.search-user-keyword {
  width: 100%;
  border: none;
}

.biz-user-select-panel{
  max-height: 240px;
  overflow: auto;
}

.biz-user-select-clear{
  position: absolute;
  top: 3px;
  right: 3px;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  width: 24px;
  height: 24px; 
  line-height: 24px;
  color: $text-color-secondary;

  i{
    font-size: 12px;
  }
  
  &:hover{
    color: $color-danger;
  }
}

.biz-user-select-tags {
  line-height: 28px;
  min-height: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.biz-user-select-tag{
  display: inline-block;
  background-color: #f0f2f5;
  max-width: 150px;
  font-size: 13px;
  height: 22px;
  line-height: 22px;
  margin: 3px;
  padding: 0 5px;
  color: #909399;
  border-radius: 4px;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;


  span.biz-user-select-tag-text{
    line-height: 20px;
    margin-left: 3px;
  }

  i{
    font-size: 12px;
  }
}

.biz-user-select-loading{
  padding: 5px 10px;
  line-height: 24px;
  color: $text-color-secondary;
}

.biz-user-select-selected{
  font-weight: 500;
  @include fontColor();
  background-color: #eef8f7;
}

.biz-user-select-item{
  cursor: pointer;
  padding: 5px 10px;
  line-height: 24px;
  transition: background-color ease .15s;

  &:hover{
    background-color: #f5f7fa;
  }
}
